<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>My Project: cWindow类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>变量</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-static-methods">静态 Protected 成员函数</a>  </div>
  <div class="headertitle">
<div class="title">cWindow类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="classc_window-members.html">所有成员列表.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aacf46e170d71c192ba2ba30752053a0e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aacf46e170d71c192ba2ba30752053a0e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>cWindow</b> (HINSTANCE instance)</td></tr>
<tr class="memitem:a70849f482c4b2d12382f71edca222d85"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70849f482c4b2d12382f71edca222d85"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initWindow</b> (int width, int height, WNDPROC ExternWindowProc, bool top_most=false, DWORD style=WS_POPUP)</td></tr>
<tr class="memitem:a1095c424b0f448f3c8c2e8dd84f59f6d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classc_window.html#a1095c424b0f448f3c8c2e8dd84f59f6d">messageLoop</a> (MSG &amp;msg, void(*fuc)())</td></tr>
<tr class="memitem:a516e3a5f5c2a1cc113c000ff19194765"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a516e3a5f5c2a1cc113c000ff19194765"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>shutDownWindow</b> ()</td></tr>
<tr class="memitem:a5c4223ebccb7f1aed48eaf1d74448073"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5c4223ebccb7f1aed48eaf1d74448073"></a>
HWND&#160;</td><td class="memItemRight" valign="bottom"><b>getWindowHandle</b> ()</td></tr>
<tr class="memitem:a27bdc14cffea807db25343b491f23402"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27bdc14cffea807db25343b491f23402"></a>
HINSTANCE&#160;</td><td class="memItemRight" valign="bottom"><b>getWindowInstance</b> ()</td></tr>
<tr class="memitem:a8b5e0e7d30d02023464e602cd6bfb91d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b5e0e7d30d02023464e602cd6bfb91d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isWindowFocusOn</b> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-static-methods"></a>
静态 Protected 成员函数</h2></td></tr>
<tr class="memitem:a732d9d295401341dbcff7e66832e481d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a732d9d295401341dbcff7e66832e481d"></a>
static LRESULT CALLBACK&#160;</td><td class="memItemRight" valign="bottom"><b>InsideWindowProc</b> (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)</td></tr>
</table>
<hr/><h2>成员函数说明</h2>
<a class="anchor" id="a1095c424b0f448f3c8c2e8dd84f59f6d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cWindow::messageLoop </td>
          <td>(</td>
          <td class="paramtype">MSG &amp;&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void(*)()&#160;</td>
          <td class="paramname"><em>fuc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>消息队列中有消息时，调用相应的处理过程</p>
<p>如果没有需要处理的消息，将进入渲染 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>E:/!代码工厂/3D引擎/<a class="el" href="window__main_8h_source.html">window_main.h</a></li>
<li>E:/!代码工厂/3D引擎/window_main.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2012年 五月 27日 星期日 22:27:19 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1
</small></address>
</body>
</html>
